minimalist-pcproxy: fix post install script
authorJosef Schlehofer <[email protected]>
Sat, 26 Feb 2022 15:45:22 +0000 (16:45 +0100)
committerNick Hainke <[email protected]>
Fri, 4 Mar 2022 11:46:18 +0000 (12:46 +0100)
Fixes:
Configuring minimalist-pcproxy.
sh: 1: unknown operand

Reported-by: Daniel Golle <[email protected]>
Suggested-by: Daniel Golle <[email protected]>
Signed-off-by: Josef Schlehofer <[email protected]>
minimalist-pcproxy/files/minimalist-pcproxy.defaults

index 7537f8a31ff907cc67e0bade692025f01518f969..a54f56e29dc1a7362e25bc962667bdc1fb6ed14d 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-if [ `uci -q get upnpd.config._pcproxy_configured` = "1" ]
+if [ "`uci -q get upnpd.config._pcproxy_configured`" = "1" ]
 then
     exit
 fi